
/* banner */
.banner{
  height: 500px;
  background-color: #f5f5f5;
}

.banner .wrapper{
 position: relative;
  height: 500px;
  background-color: pink;
  overflow: hidden;
  /* 超出父级就隐藏 */
}

/* 图片 */
.banner .pic{
  display: flex;
}

/* 测导航 */
.subnay{
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 800px;
  background-color: rgba(0,0,0,0.42);
}

.subnay li{
  display: flex;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 12px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  cursor: pointer;
}
/* a所有的都是小字，分类是大字 */
.subnay li a{
  font-size: 14px;
  color: #fff;
  margin-right: 5px;
}

.subnay li .classify{
  font-size: 16px;
  margin-right: 14px;
}
.subnay li:hover{
  background-color: #01bf98;
}

.subnay li .icofont{
  font-size: 14px;
}

/* 圆点指示器 */
.banner ol{
  display: flex;
  position: absolute;
  bottom: 17px;
  right: 16px;
}

.banner ol li{
  margin-left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
}

.banner ol i{
  display: block;
  margin: 4px;
  width: 14px;
  height: 14px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
}

.banner ol .current{
  background-color: rgba(255,255,255,0.5);
}
.banner ol .current i{
  background-color: #fff;
}

/* 新鲜好物 */
.title{
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 30px;
  height: 42px;
}
.title .left{
  display: flex;
}

.title .left h3{
  margin-right: 35px;
  font-size: 30px;
}

.title .left p{
  align-self: flex-end;
  color: #a1a1a1;
}

.title .right .more{
  line-height: 42px;
  color: #a1a1a1;
}

.title .right .more span{
  margin-left: 10px;
}

/* 类容 */
.bd ul{
  display: flex;
  justify-content: space-between;
}
.bd li{
  width: 304px;
  height: 404px;
  background-color: #eef9f4;
}
.bd .pic{
  width: 304px;
  height: 304px;
}
.bd li .txt{
  text-align: center;
}

.bd li .txt h4{
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 20px;
}

.goods .bd p{
  font-size: 18px;
  color: #aa2113;
}
.goods .bd p span{
  margin-left: 5px;
  font-size: 22px;
}

/* 人气推荐 */
.reccmmend .bd li{
  background-color: #fff;
}

.reccmmend .bd p{
  color: #a1a1a1;
}

.reccmmend .bd img{
  width: 304px;
  height: 304px;
}

/* 热门品牌 */
.brand{
  margin-top: 60px;
  height: 468px;
  background-color: #f5f5f5;
}

.brand .wrapper{
  overflow: hidden;
  height: 468px;
}
.brand .title{
  position: relative;
  margin-bottom: 40px;
}
.brand .button{
  position: absolute;
  right: 0;
  bottom: -25px;

  display: flex;
}

.brand .button a{
  margin-left: 12px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #fff;
}
.brand .button .prev{
  background-color: #ddd;
}
.brand .button .next{
  background-color: #00be9a;
}

.brand .bd li{
  width: 244px;
  height: 306px;
}
.brand .bd li img{
  width: 240px;
  height: 306px;
}

/* 生鲜 */
.fresh .title{
  margin-top: 60px;
  margin-bottom: 20px;
}
.title .right{
  display: flex;
}
.title .right ul{
  display: flex;
  margin-top: 10px;
  margin-right: 58px;
}
.title .right ul a{
  margin-right: 6px;
  height: 20px;
  padding: 0 7px;
  display: block;
  line-height: 20px;

}

.title .right ul .activ{
  background-color: #00be9a;
  color: #fff;
}
.title .right ul a:hover{
  background-color: #00be9a;
  color: #fff;
}
/* 生鲜的内容 */
.fresh .content{
  display: flex;
  justify-content: space-between;
}
.content .left{
  width: 248px;
  height: 610px;
  background-color: pink;
}
.content .right{
  width: 968px;
  height: 610px;
}
.content .left img{
  width: 248px;
}

.content .right ul{
  flex-wrap: wrap;
  display: flex;
}
.content .right li{
  position: relative;
  padding: 10px 21px 0;
  width: 242px;
  height: 305px;
  border: 2px solid #fff;
  /* 溢出隐藏 */
  overflow: hidden;
}

.content .pic{
  width: 200px;
  height: 180px;
}
.content .pic img{
  width: 200px;
  height: 180px;
} 

.content .info{
  height: 60px;
  margin-top: 14px;
  margin-bottom: 5px;
  line-height: 19px;
}

.content .price{
  color: #af2f22;
}
.content .price span{
  font-size: 22px;
  margin-left: 5px;
}

/* 过渡效果 */
.content li .cover{
  position: absolute;
  left: 0;
  bottom: -86px;
  width: 242px;
  height: 84px;
  background-color: #00be9a;
  text-align: center;
  padding-top: 15px;
  color: #fff;
  transition: all 0.5s;
}
.content .cover p:nth-child(1){
  font-size: 18px;
}

.content .cover p:nth-child(2){
  width: 120px;
  height: 1px;
  background-color: rgba(255,255,255,0.11);
  margin: 3px auto 6px;
}
.content .cover p:nth-child(3){
  font-size: 13px;

}
.content .cover .icofont{
  font-size: 10px;
}

.content .right li:hover .cover{
  bottom: 0;
}

.content .right li:hover{
  border: 2px solid #00be9a;
}

/* 最新专题 */
.topic{
  margin-bottom: 40px;
}

.topic .title{
  margin-top: 100px;
}

.footer .service ul li{
  margin-top: 60px;
}

.topic-bd ul{
  display: flex;
  justify-content: space-between;
}
.topic-bd li{
  width: 405px;
  height: 305px;
  background-color: pink;
}